export default defineNuxtConfig({
  app: {
    pageTransition: { name: 'page', mode: 'in-out' },
  },
  devtools: {
    enabled: true,
  },
  modules: [
    '@pinia/nuxt',
    '@ant-design-vue/nuxt',
    'dayjs-nuxt',
    'nuxt-lodash',
    '@nuxtjs/i18n',
    // '@nuxtjs/tailwindcss',
  ],
  i18n: {
    vueI18n: './i18n.config.ts',
  },
  srcDir: 'src/',
  vite: {
    css: {
      preprocessorOptions: {
        less: {
          additionalData: '@import "@/assets/style/default.less";',
        },
      },
    },
  },
})
